- 首页
- 产品
ERROR: invalid input syntax for integer: ""
LINE 3: SELECT * FROM p_category WHERE site_id = '6' AND id = ''
^
query():
WITH RECURSIVE r AS (
SELECT * FROM p_category WHERE site_id = '6' AND id = ''
union ALL
SELECT t.* FROM p_category t, r WHERE t.id = r.parent_id
)
SELECT * FROM r ORDER BY id
BACKTRACE:
File: /home/res/libs/class.pgDB.php [LINE 344]
Call: pgDB->backtrace()
File: /home/res/libs/class.pgDB.php [LINE 56]
Call: pgDB->error(Resource(#1)(pgsql link), Object(Exception))
File: /home/www/szafsy.com/lib/func.php [LINE 118]
Call: pgDB->query("
WITH RECURSIVE r AS (
SELECT * FROM p_category WHERE sit...")
File: /home/www/szafsy.com/product.php [LINE 96]
Call: getProductNav(Null)